var localStorage = window.localStorage;

var loginParam = {
	openId:'test001',
	imgUrl:'images/wxIcon.png',
	name:'testuser'
}
ltNetwork.post(configUrl.LOGIN_URL,loginParam,function(res){
	console.log(res);
	var res = JSON.parse(res);
	var memberInfo = res.data.member;
	var memberidToken = res.data.memberId+'_'+res.data.token;
	console.log(memberidToken);
	myStorage.setItem("memberInfo", memberInfo);				//登录成功，用户信息缓存
	myStorage.setItem("memberidToken", memberidToken);
	console.log(myStorage.getItem('memberInfo'));
},function(msg){
	console.log(msg);
});
